package com.asa.common.utils;

public abstract class ComUtils {
    public static Com getCom() {
        return threadLocal.get();
    }

    public static void removeCom() {
        threadLocal.remove();
    }

    private static ThreadLocal<Com> threadLocal = new ThreadLocal<Com>() {
        @Override
        protected Com initialValue() {
            return new Com();
        }
    };
}